package cn.edu.gzgs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 分页查询基础数据传输对象
 * <p>
 * 提供了分页查询所需的基本参数：页码和每页大小。
 *
 * @author Zyf
 * @since 2024-05-28
 */
@Data
@Schema(description = "分页查询基础参数")
public class PageQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "页码", defaultValue = "1")
    private int page = 1;

    @Schema(description = "每页记录数", defaultValue = "10")
    private int pageSize = 10;

    @Schema(description = "搜索关键词")
    private String keyword;
} 